<?php 
	function test(){
		// local variable to not be deleted.
		static $x = 0;
		echo $x, '<br>';
		$x++;
	}

	test();
	test();
	test();
?>